Platform Explorer / Nuxeo Platform 2023.9

Component org.nuxeo.ecm.virtualnavigation.contentviews.contrib

Resolution Order

605
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.

Contributions

XML Source

<?xml version="1.0"?>

<component name="org.nuxeo.ecm.virtualnavigation.contentviews.contrib">

  <extension target="org.nuxeo.ecm.platform.ui.web.ContentViewService"
    point="contentViews">

    <contentView name="bySubjectsContentView">
      <title>label.virtualnavigation.subjects</title>
      <translateTitle>true</translateTitle>
      <showTitle>true</showTitle>
      <emptySentence>label.content.empty.search</emptySentence>
      <translateEmptySentence>true</translateEmptySentence>

      <coreQueryPageProvider>
        <property name="coreSession">#{documentManager}</property>
        <!-- search doc maintained here -->
        <searchDocumentType>QueryNav</searchDocumentType>
        <whereClause>
          <predicate parameter="dc:subjects" operator="STARTSWITH">
            <field schema="querynav" name="subjects" />
          </predicate>
          <fixedPart>
            ecm:mixinType != 'HiddenInNavigation' AND
            ecm:isTrashed = 0 AND
            ecm:isVersion = 0
          </fixedPart>
        </whereClause>
        <sort column="dc:title" ascending="true" />
        <pageSize>10</pageSize>
      </coreQueryPageProvider>

      <showPageSizeSelector>true</showPageSizeSelector>
      <useGlobalPageSize>true</useGlobalPageSize>
      <refresh>
        <event>documentChildrenChanged</event>
      </refresh>
      <cacheKey>only_one_cache</cacheKey>
      <cacheSize>1</cacheSize>

      <resultLayouts>
        <layout name="document_listing_thumbnail" title="document_thumbnail_listing"
          translateTitle="true" iconPath="/icons/document_listing_icon_2_columns_icon.png"
          showSlideshow="true" showEditRows="true" />
        <layout name="document_listing_table" title="document_listing"
          translateTitle="true" iconPath="/icons/document_listing_icon.png"
          showCSVExport="true" showSpreadsheet="true" showEditColumns="true" />
      </resultLayouts>

      <selectionList>CURRENT_SELECTION</selectionList>
      <actions category="CURRENT_SELECTION_LIST" />

    </contentView>

    <contentView name="byCoverageContentView">
      <title>label.virtualnavigation.coverage</title>
      <translateTitle>true</translateTitle>
      <showTitle>true</showTitle>
      <emptySentence>label.content.empty.search</emptySentence>
      <translateEmptySentence>true</translateEmptySentence>

      <coreQueryPageProvider>
        <property name="coreSession">#{documentManager}</property>
        <!-- search doc maintained here -->
        <searchDocumentType>QueryNav</searchDocumentType>
        <whereClause>
          <predicate parameter="dc:coverage" operator="STARTSWITH">
            <field schema="querynav" name="coverage" />
          </predicate>
          <fixedPart>
            ecm:mixinType != 'HiddenInNavigation' AND
            ecm:isTrashed = 0 AND
            ecm:isVersion = 0
          </fixedPart>
        </whereClause>
        <sort column="dc:title" ascending="true" />
        <pageSize>10</pageSize>
      </coreQueryPageProvider>

      <showPageSizeSelector>true</showPageSizeSelector>
      <useGlobalPageSize>true</useGlobalPageSize>
      <refresh>
        <event>documentChildrenChanged</event>
      </refresh>
      <cacheKey>only_one_cache</cacheKey>
      <cacheSize>1</cacheSize>

      <resultLayouts>
        <layout name="document_listing_thumbnail" title="document_thumbnail_listing"
          translateTitle="true" iconPath="/icons/document_listing_icon_2_columns_icon.png"
          showSlideshow="true" showEditRows="true" />
        <layout name="document_listing_table" title="document_listing"
          translateTitle="true" iconPath="/icons/document_listing_icon.png"
          showCSVExport="true" showSpreadsheet="true" showEditColumns="true" />
      </resultLayouts>

      <selectionList>CURRENT_SELECTION</selectionList>
      <actions category="CURRENT_SELECTION_LIST" />

    </contentView>

  </extension>

</component>